﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ZhouYu.DreamTour.ViewModel.AlipayOrder
{
    /// <summary>
    /// 支付宝开发者信息配置
    /// </summary>
    public class Config
    {

        public Config()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }
        // 应用ID,您的APPID
        public static string app_id = "2016092700606398";

        // 支付宝网关                      
        public static string gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

        // 商户私钥，您的原始格式RSA私钥
        public static string private_key => "MIIEpAIBAAKCAQEAxWInwEgDhHYUpTARb1NACaYAbYlTUDyjmI5zjjLbXle/fOUp3KqVXU5eCXgAzOTQzjYAuob3K8WfgWG4INRORFtYlg3L34yAHgdAA9H5PZxN7kOqibwoyN0InuBD81mv//FQC51I1KPafQmMev6RiXq2lkyl90bosZ6qJSBbb5a8QD2C7CmYHUh7rEpon1GjBpKJm8WEq1K7SJmZ6266H5LkW1g9C/SIG3StooxWwfphC7Oy+BUtaNO1IJqdd//qNVhTSZZNIUaGO+2gtZuwsgf+OB/RtIKIkFek0+/684ISNTL9wvTSQAHPpn78sirJ0VFRtjY0Mf9DSl/FmRBkGQIDAQABAoIBAGWqdQcZEJa9q0yaQaCxpJ5TnozM2tjNIwaE+QgZMdyaHctazgEW6/AvWUhPQzpF8TcFocJxmgY1uD6P8qMWN2oGEs7XNFdkqujMmzBciqAtTgaXW9Ot0uQC1Vnf8Z/6ZijSRoR08vpzmyokLPN9A8FoL3ui5ylCoMA8FS8iR3ZlqdfzSdo6jgoxmMEfmLPdVQ7wZp1xgExb7Z+DMwkasC2/rUD3GJA5AQK61j2Uh3PTqCtrN9b+mLVc0PEfNkiiPfkzD/iC1+vua6KJ2Qd0aO36Ytak2SdL++IL3K1Z0vJ8r/37g1ROw0GKvknU40CYRn8baPSQxGfzyv2FNuyc+sECgYEA5g+K1ZOjc7E+/W582kt215f+C/Owi5Nly9Lv0cR6/BrMAYvFicidCoDOwcc/8xZGyjGDA+v5NPN5Ofb6f1M0O5cv4Nr46e3JZl0WCq66zl+RYiJxWkgY9zdU3c9Mc/qqCfEcnAdnWXsvqO0h0RLMqBt4NPV+RQymTZSj+HCGSf0CgYEA26Nq65zdzzRQVYqEtPqXt1kPq8CXjbE1VLFjJE8DFQwmRJOoeCzKbAL4+N4JtFRnNHOSAVSP2pQSU3/l5MAbzu3fFlZTPqBA6YCUNuppuVIqR5+O281TP0ZykqZttcbx63zhAw6vmjIx69a8HKAo9fDtSOvXoJJmzP1qGt0Yn00CgYB8RmUO3kPrWRHXwPl8yksWRyqatjbmDudsZTPbMrHkwWz2YNSCi3YZmF8X2lQ3Mg9nZbuKQMxLyEHyB/JlGUMb9Z2Nb3wKkcK7owknGCAdHw7f3g8xX8Tstl0HvNVlyUBVQoPb3Tv84Ehsjjw4PlmDbeNPaFWfYyfqvKKer9o62QKBgQC1WxBUECjOiKG0oDXHwgs4J1/bL6F0K9ifYAE+38bpwChxA4NeB4309ddiluRodDDrjGoIkyxdDVq8e6T15vKPQLauGQWPdn9izvqTBafaj8+9aDBrqfSNELxV/voj2Gu1SF37SksRBVVXKO4WrOBlg1RKnAJl4bzkknLkT5+fGQKBgQCxN31kx71p4KRNpO9GigBFBi61Q/gLQ+CBj4XH21wy1ni4KwZHjZmtxX3ZMbEC+aRp9PIz9xWdxgPziCKfVYx4A12p5Bcb8lQQz2EjE1Q02JqrWLDHdicQBfQFerjbkvMKyK+s0/yQSjkM/1U8RvsyxOIltd2VRNmRNmdCCi2hcA==";

        // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
        public static string alipay_public_key = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDIgHnOn7LLILlKETd6BFRJ0GqgS2Y3mn1wMQmyh9zEyWlz5p1zrahRahbXAfCfSqshSNfqOmAQzSHRVjCqjsAw1jyqrXaPdKBmr90DIpIxmIyKXv4GGAkPyJ/6FTFY99uhpiq0qadD/uSzQsefWo0aTvP/65zi3eof7TcZ32oWpwIDAQAB";

        // 签名方式
        public static string sign_type = "RSA2";

        // 编码格式
        public static string charset = "UTF-8";
    }
}